<?xml version='1.0' encoding='UTF-8' ?>
<!DOCTYPE composition PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<ui:composition xmlns:ui="http://java.sun.com/jsf/facelets"
                template="./WEB-INF/includes/template.xhtml"
                xmlns:h="http://java.sun.com/jsf/html"
                xmlns:f="http://java.sun.com/jsf/core"
                xmlns="http://www.w3.org/1999/xhtml"
                xmlns:c="http://java.sun.com/jsp/jstl/core">
    <ui:define name="metadata">
	<f:metadata>
            <f:event type="preRenderView" listener="#{studyBacking.fillForm(param.action)}"/>
	</f:metadata>
    </ui:define>
    <ui:define name="title">
        学院教师出席会议/进修/培训申请表--OfficeBoost System
    </ui:define>

    <ui:define name="content">
        <h:form>
            <font size="3" color="blue">
            <h:outputLabel value="学院教师出席会议/进修/培训申请表"/>
            </font>
            <h:panelGrid columns="2" frame="hsides">
                <h:outputLabel value="申请人"/>
                <h:outputText value="#{studyBacking.name}" id="name"/>
                <h:outputLabel value="工号"/>
                <h:outputText value="#{studyBacking.ID}" id="ID"/>
                <h:outputLabel value="电话"/>
                <h:inputText value="#{studyBacking.phone_num}" id="phone_num" readonly="#{studyBacking.disabled[0]}"/>
                <h:outputLabel value="岗位"/>
                <h:inputText value="#{studyBacking.position}" id="position" readonly="#{studyBacking.disabled[0]}"/>
                <h:outputText value="本人外出期间工作"/>
                <h:inputTextarea value="#{studyBacking.work}"  rows="8" cols="40" id="work" readonly="#{studyBacking.disabled[0]}"/>
                <h:outputText value="出席会议/进修/培训主要内容"/>
                <h:inputTextarea value="#{studyBacking.detial}"  rows="8" cols="40" id="detail" readonly="#{studyBacking.disabled[0]}"/>
                <h:outputLabel value="主办单位及地点"/>
                <h:inputTextarea value="#{studyBacking.destination}"  rows="8" cols="40" 
                                 readonly="#{studyBacking.disabled[0]}" id="destination"/>
                <h:outputLabel value="起止时间"/>
                <h:inputText value="#{studyBacking.time_span}" id="time_span" readonly="#{studyBacking.disabled[0]}"/>              
                <h:outputLabel value="经费来源"/>
                <h:inputTextarea value="#{studyBacking.money_source}"  rows="8" cols="40" 
                                 id="money_source" readonly="#{studyBacking.disabled[0]}"/>
                <h:outputLabel value="申请理由"/>
                <h:inputTextarea value="#{studyBacking.reason}"  rows="8" cols="40" id="reason" 
                                 readonly="#{studyBacking.disabled[0]}"/>
                <h:outputLabel value="专业方向负责人意见"/>
                <h:inputTextarea value="#{studyBacking.leader_opinion}"  rows="8" cols="40" 
                                 readonly="#{studyBacking.disabled[1]}" id="leader_opinion"/>
           
                
                <h:outputLabel value="主管领导意见"/>
                <h:inputTextarea value="#{studyBacking.president_opinion}"  rows="8" cols="40"
                                 readonly="#{studyBacking.disabled[2]}" id="president_opinion"/>
              
                
                <h:outputLabel value="学院领导意见"/>
                <h:inputTextarea value="#{studyBacking.school_opinion}"  rows="8" cols="40" readonly="#{studyBacking.disabled[3]}"
                                 id="school_opinion"/>
              
                
            </h:panelGrid>
           
                <h:selectOneRadio value="#{studyBacking.decision}" >
                    <f:selectItem itemLabel="同意" itemValue="agree"/>
                    <f:selectItem itemLabel="拒绝" itemValue="refuse"/>
                </h:selectOneRadio>
         
            <h:commandButton value="提交" action="#"/>
        </h:form>
    </ui:define>


</ui:composition>
